USB: serial: ch341: change initial line-control settings
authorJohan Hovold <johan@kernel.org>
Fri, 6 Jan 2017 18:15:23 +0000 (19:15 +0100)
committerRaspbian kernel package updater <root@raspbian.org>
Thu, 15 Feb 2018 17:37:58 +0000 (17:37 +0000)
commitaff94510ee50c7714784c351ce38a875677bd11c
tree032f2d9e570fee5ba11b8c1230cad3d02aea9df9
parent03216f8283c32b463580e6a6e66ed144cd1fcb0b
USB: serial: ch341: change initial line-control settings

commit 7c61b0d5e82bfe29b8dda55745afbf65b6ccc901 upstream.

Some CH340 devices appear unable to change the initial LCR settings, so
set a sane 8N1 default during probe to enable basic support for such
devices.

Also drop a redundant LCR read during device initialisation.

Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/ch341.c